home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 110 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: fido.asd.sgi.com!austern
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: STL experts, please comment
  5. Date: 23 Jan 1996 10:39:37 PST
  6. Organization: self-employed
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4e1dsr$4kj@news.bridge.net>
  9. References: <4dnteb$6fo@news.bridge.net> <4e1034$5ar@hermes.synopsys.com>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: 23 Jan 1996 01:33:15 GMT
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMQUt00y4NqrwXLNJAQEwxgH/VqOOQhet82dLjZb7wmv/mPW8Cm2xBx2Q
  15.     e9DOaPIHr6UsvARg0EMfRSLeq53OpwjvA9zagXjcuBejX7ElkMrl1Q==
  16.     =yBp2
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. >>>In the HP STL, deque::iterator has a default ctor which initialises
  20. >>>several of its members with the value 0
  21. >>>
  22. >>>       iterator() : current(0), first(0), last(0), node(0) {}
  23.  
  24. >> Well, they goofed, I suppose.  Seems the types of allocators they 
  25. >> used were all pointers, so they didn't test out other cases.
  26.  
  27.  
  28. Joe, you're absolutely right. I got a post (through a Compuserve forum) 
  29. from someone pointing out that class 'deque' in the HP STL has bugs.
  30.  
  31.             David
  32.  
  33.  
  34.  
  35. [Moderator's note: discussion of whether the sample code in the free
  36. STL implementation is standard-conforming certainly belongs in
  37. this newsgroup.  Please try to avoid articles that repeat things 
  38. that have already been said, though.  mha]
  39.  
  40. ---
  41. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  42.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  43.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  44.